package steveshrader.budget.client.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Vendor implements IsSerializable {
        private String name;
        private String lastExpenseType;
        private String lastPaymentType;
        
        @SuppressWarnings("unused")
        private Vendor() {}     //needed for GWT RPC serialization
        
        public Vendor(String name, String lastExpenseType, String lastPaymentType) {
                this.name = name;
                this.lastExpenseType = lastExpenseType;
                this.lastPaymentType = lastPaymentType;
        }
        
        public String getName() {
                return name;
        }

        public String getLastExpenseType() {
                return lastExpenseType;
        }

        public String getLastPaymentType() {
                return lastPaymentType;
        }
}